package com.wutong.eams.interfaces;

import com.wutong.eams.enums.Role;
import com.wutong.eams.utils.RouterUtil;

import java.util.Map;

public interface Permission {

    Role getPermission();

    boolean needPermission();

    default Map<String, RouterUtil.MatchType> getWhiteList() {
        return Map.of();
    }

}
